package com.mdz.myapplication.Entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 单据类型信息表
 * </p>
 *
 * @author 孟德志
 * @since 2021-11-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ddlx")
public class Ddlx extends Model<Ddlx> {

    private static final long serialVersionUID=1L;

    /**
     * 订单类型自增长id号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 订单类型
     */
    @TableField("ddlx")
    private String ddlx;

    /**
     * 详细订单类型名称
     */
    @TableField("ddlxmc")
    private String ddlxmc;

    /**
     * 码上放心Event_Name值
     */
    @TableField("event_name")
    private String eventName;

    /**
     * 码上放心MainAction值
     */
    @TableField("mainaction")
    private String mainaction;

    /**
     * 码上放心Action_Name值
     */
    @TableField("actionname")
    private String actionname;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
